package com.wh.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;

import javax.validation.Valid;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2022/11/19 9:02
 * @description:
 * @version:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PatientVo {
    @NotNull
    private String name;

    @NotNull
    @Size(min = 18,max = 18,message = "身份证满足18位号码")
    private String idCard;

    @NotNull
    private Integer defaultFlag  ;

    private Boolean gender;
}
